package org.rcy.framework.security.authentication.authenticator;

import org.rcy.framework.api.security.SecurityUser;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.core.Authentication;

public interface FormAuthenticator<T extends Authentication> {
    void authenticate(T originalToken, SecurityUser user) throws BadCredentialsException;
}
